/* 头部 */
header {
    height: 80px;
}

header main {
    width: 1111px;
    height: 80px;
    margin: auto;
    display: flex;
    justify-content: space-around;
}

header nav {
    width: 720px;
    height: 80px;
    display: flex;
    justify-content: space-around;
}

header nav a {
    width: 120px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 19px;
    color: #000;
}

header nav a.active {
    color: #866961;
    position: relative;
}

header nav a.active:after {
    content: "";
    width: 120px;
    height: 6px;
    background-color: #866961;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

/* 轮播图 */
.banner {
    height: 420px;
    position: relative;

}

.banner .picture {
    height: 420px;
    position: relative;

}

.banner .picture img {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0;
    ;
    transition: 1s;
}

.banner .picture img.active {
    opacity: 1;

}



/* 按钮 */
.banner button {
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 40px;
    color: #3d3d3d;
    background-color: #ccc;
    position: absolute;
    top: 50%;
    cursor: pointer;

}

.banner button:nth-of-type(1) {
    position: absolute;
    right: 40px;
}

.banner button:nth-of-type(2) {
    position: absolute;
    left: 40px;
}

.banner button:hover {
    background-color: #999999;
}

.banner button:active {
    background-color: #736c6c;
}

/* 小圆点 */
.banner ul {
    width: 100px;
    height: 20px;
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: 30px;
    margin-left: -50px;
}

.banner ul li {
    line-height: 20px;
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 1px solid #3d3d3d;
    border-radius: 50%;
    cursor: pointer;


}

.banner ul li.active {
    background-color: #666666;
}






/* 关于我们 */
.about {
    height: 797px;
}

.about main {
    width: 1111px;
    height: 797px;
    margin: auto;
    text-align: center;
}

/* 头部部分 */
h2 {
    padding-top: 45px;
    box-sizing: border-box;
    height: 76px;
    font-size: 22px;

}

h3 {
    height: 30px;
    line-height: 30px;
    color: #666666;
    position: relative;
}

h3::before {
    content: "";
    width: 85px;
    height: 1px;
    background-color: #666666;
    position: absolute;
    bottom: 13px;
    left: 415px;
}

h3::after {
    content: "";
    width: 85px;
    height: 1px;
    background-color: #999999;
    position: absolute;
    bottom: 13px;
    right: 415px;
}

/* 图片和文字 */
.about main .big {
    width: 1111px;
    height: 537px;
    padding-top: 19px;
    box-sizing: border-box;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;


}

.about main .big .small {
    width: 390px;
    height: 517px;
    border: 1px solid #000;
    position: relative;

}

.about main .big .small img {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.about main .big .text {
    width: 613px;
    height: 520px;
}

.about main .big .text .title {
    height: 96px;
    font-size: 20px;
    text-align: left;
    position: relative;
}

.about main .big .text .title:after {
    content: "";
    width: 36px;
    height: 1px;
    background-color: #000;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.about main .big .text .content p {
    margin-top: 30px;
    line-height: 30px;
    font-size: 11px;
    text-align: left;
    text-indent: 2em;
}

/* 浓香咖啡 ,美好午后 */
.afternoon {
    height: 100px;
    background: url(../images/index/background.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    text-align: center;
    line-height: 100px;
    font-size: 23px;

}

/* 产品介绍 */
.product {
    height: 654px;
}

.product main {
    width: 1111px;
    height: 654px;
    margin: auto;
    text-align: center;


}

/* 介绍详情 图片和文字 */

.product main .details {
    width: 1111px;
    height: 428px;
    display: flex;
    margin-top: 43px;

    box-sizing: border-box;
    justify-content: space-between;
}

.product main .details dl {
    width: 323px;
    height: 435px;
    cursor: pointer;

}

.product main .details dd {
    font-size: 22px;
    padding: 20px 0px 20px 0px;
    box-sizing: border-box;
    position: relative;



}

.product main .details dd:after {
    content: "";
    width: 32px;
    height: 1px;
    background-color: #000;
    position: absolute;
    bottom: 11px;
    left: 44%;
}

.product main .details dl p {
    font-size: 13px;
    line-height: 25px;
}

.product main .details dt {
    position: relative;
}

.product main .details dt .modal_box {
    background: rgba(52, 58, 65, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}
.product main .details dl dt:hover .modal_box{
    background: rgba(52, 58, 65, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: block;

}
.product main .details dt .modal_box .iconfont {
    color: #fff;
    font-size: 50px;

    display: none;

}

.product main .details dt:hover .modal_box .iconfont {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 50%;
    margin-left: -25px;
    display: block;

}



/* 公司团队 */
.team {
    height: 704px;
}

.team main {
    width: 1111px;
    height: 704px;
    margin: auto;
    text-align: center;
}

/* 团队内容部分 */
.team main .content {
    margin-top: 38px;
    width: 1111px;
    height: 541px;
    display: flex;
    justify-content: space-around;

}

.team main .content dl {
    width: 245px;
    height: 512px;
    border: 1px solid #999999;
    position: relative;
    cursor: pointer;
}

/* 静态样式 */
.team main .content dl dd:nth-of-type(1) {

    background-color: #fff;
    margin-top: 27px;
    font-size: 20px;

}

.team main .content dl dd:nth-of-type(1) p:nth-of-type(1) {
    font-size: 20px;
}

.team main .content dl dd:nth-of-type(1) p:nth-of-type(2) {
    font-size: 13px;
    margin-top: 11px;
}

/* 鼠标移入样式 */
.team main .content dl dd:nth-of-type(2) {
    position: absolute;
    left: 0px;
    bottom: 0px;
    display: none;
    background-color: #3d3d3d;
    color: #fff;
}

.team main .content dl dd:nth-of-type(2) p:nth-of-type(1) {
    font-size: 19px;
    padding: 12px 0px 12px 0px;
    box-sizing: border-box;
    position: relative;

}

.team main .content dl dd:nth-of-type(2) p:nth-of-type(1)::after {
    content: "";
    width: 30px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    bottom: 0px;
    right: 44%;
}

.team main .content dl dd:nth-of-type(2) p:nth-of-type(2) {
    font-size: 14px;
    line-height: 25px;
    margin-top: 9px;
    width: 245px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;


}

/* 联系我们 */
.contact {
    height: 632px;
}

.contact main {
    width: 1111px;
    height: 632px;
    margin: auto;
    text-align: center;
    padding-top: 110px;
    box-sizing: border-box;
}

.contact main .big {
    width: 1111px;
    height: 400px;
    margin-top: 37px;
    display: flex;
    justify-content: space-around;
}

/* .contact main .big .map{
    width: 664px;
    height: 344px;
} */
.contact main .big .method {
    width: 372px;
    height: 344px;
    padding-left: 62px;
    box-sizing: border-box;

}

.contact main .big .method .mini {
    width: 320px;
    height: 98px;
    text-align: left;
    margin-bottom: 20px;
    position: relative;
}

.contact main .big .method .mini .iconfont {
    font-size: 38px;
    color: #707070;
    position: absolute;
    left: -60px;
    top: 5px;

}

.contact main .big .method .mini p {
    margin-bottom: 9px;
}

.contact main .big .method .mini p:nth-of-type(1) {
    font-size: 19px;
}

.contact main .big .method .mini p:nth-of-type(2),
p:nth-of-type(4) {
    font-size: 11px;
    color: #999999;
}

.contact main .big .method .mini p:nth-of-type(3) {
    font-size: 12px;

}

/* 底部 */
footer {
    margin-top: 52px;
    height: 80px;
    background-color: #866961;
}

footer main {
    width: 1111px;
    height: 80px;
    margin: auto;

    color: #fff;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

footer main p {
    width: 664px;
    height: 80px;
    text-align: center;
    line-height: 80px;
}

footer main h5 {
    width: 372px;
    height: 80px;
    text-align: center;
    padding-top: 20px;
}